Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#581 [feat] 글모임 정보 받아올 시 분산락 위치 변경 #583

Merged
merged 2 commits into from
Nov 30, 2024

Conversation

sohyundoh
Copy link
Member

✒️ 관련 이슈번호

Key Changes 🔑

  1. 글모임 인기 정보 관련 set이 들어갈 때, register를 접근해서 하는 것이 아닌, register 밖에서 lock을 획득하려고 한 뒤에 획득하면 접근하도록 변경했습니다. (캐시의 동시성을 보장하기 위해)
  2. 분산락 키가 공통이어서 , 모든 요청에 대해 모임 구분 없이 락을 걸고 있었는데, 모임별로 분산락을 걸도록 수정했습니다.

To Reviewers 📢

@sohyundoh sohyundoh self-assigned this Nov 30, 2024
@sohyundoh sohyundoh merged commit d149b20 into develop Nov 30, 2024
1 check passed
@sohyundoh sohyundoh deleted the feat/#581 branch November 30, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] 글모임 정보 분산락 위치 변경
1 participant